package org.goyo.main.services.storage;

import java.util.List;

import org.goyo.common.exception.DBException;
import org.goyo.common.exception.ServiceException;
import org.goyo.common.utils.Pager;
import org.goyo.main.domain.entity.storage.InventoryUnpack;
import org.goyo.main.domain.entity.storage.InventoryUnpackEntry;
import org.goyo.main.domain.entity.system.SysUser;

public interface IInventoryUnpackService {
	
	public Pager<InventoryUnpack> findByCondition(String where,Pager pager) throws DBException,ServiceException; 

	public InventoryUnpack saveOrUpdateInfo(InventoryUnpack info,Object[] uuids,SysUser user) throws DBException,ServiceException;
	
	public List<InventoryUnpackEntry> findByParentId(String parentId) throws DBException,ServiceException;
	
	public void delByUuids(Object[] uuids) throws DBException,ServiceException;
	
	public InventoryUnpack submitByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;
	
	public InventoryUnpack auditByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;

	public InventoryUnpack unAuditByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;

	public InventoryUnpack findByUuuid(String uuid)  throws DBException,ServiceException;

}
